package com.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author hlt
 * @since 2019-12-25
 */

public class Soldrecord implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 售出记录id
     */
    private String id;
    /**
     * 商品id
     */
    private String commid;
    /**
     * 商品名
     */
    private String commname;
    /**
     * 商品描述
     */
    private String commdesc;
    /**
     * 售价
     */
    private BigDecimal thinkmoney;
    /**
     * 售出时间
     */
    private Date soldtime;
    /**
     * 用户id
     */
    private String userid;
    /**
     * 1正常 2删除
     */
    private Integer soldstatus;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getCommid() {
		return commid;
	}
	public void setCommid(String commid) {
		this.commid = commid;
	}
	public String getCommname() {
		return commname;
	}
	public void setCommname(String commname) {
		this.commname = commname;
	}
	public String getCommdesc() {
		return commdesc;
	}
	public void setCommdesc(String commdesc) {
		this.commdesc = commdesc;
	}
	public BigDecimal getThinkmoney() {
		return thinkmoney;
	}
	public void setThinkmoney(BigDecimal thinkmoney) {
		this.thinkmoney = thinkmoney;
	}
	public Date getSoldtime() {
		return soldtime;
	}
	public void setSoldtime(Date soldtime) {
		this.soldtime = soldtime;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public Integer getSoldstatus() {
		return soldstatus;
	}
	public void setSoldstatus(Integer soldstatus) {
		this.soldstatus = soldstatus;
	}
	public static long getSerialversionuid() {
		return serialVersionUID;
	}
	@Override
	public String toString() {
		return "Soldrecord [id=" + id + ", commid=" + commid + ", commname=" + commname + ", commdesc=" + commdesc
				+ ", thinkmoney=" + thinkmoney + ", soldtime=" + soldtime + ", userid=" + userid + ", soldstatus="
				+ soldstatus + "]";
	}
    
    
}
